{extend name="common/common"/}

{block name="content-header"}
<h1>
    订单
    <small>Optional description</small>
</h1>
<ol class="breadcrumb">
    <li><a href="#"><i class="fa fa-dashboard"></i> Level</a></li>
    <li class="active">Here</li>
</ol>
{/block}

{block name="content"}
<div class="row">
    <div class="col-xs-12">

        <div class="sub clearfix">
            <div class="pull-left">
                <ul class="list-inline">


                </ul>
            </div>
            <div class="pull-right">
                <form method="get" action="">

                </form>
            </div>
        </div>

        <div class="subsub subsub-top clearfix">
            <div class="pull-left">

            </div>
            <div class="pull-right">
                {$list->render() ?? $list->total() . '个项目'}
            </div>
        </div>

        <div class="box box-solid box-table">
            <div class="box-body table-responsive no-padding">
                <table class="table table-hover">
                    <thead>
                    <tr>
                        <th>用户</th>
                        <th>金额</th>
                        <th>状态</th>
                        <th>收货人</th>
                        <th>联系方式</th>
                        <th>地址</th>
                        <th>操作</th>
                    </tr>
                    </thead>
                    <tfoot>
                    <tr>
                        <th>用户</th>
                        <th>金额</th>
                        <th>状态</th>
                        <th>收货人</th>
                        <th>联系方式</th>
                        <th>地址</th>
                        <th>操作</th>
                    </tr>
                    </tfoot>
                    <tbody>
                    {foreach $list as $vo}
                    <tr>
                        <td>{$vo.user_name}</td>
                        <td>{$vo.money}</td>
                        <td>{$vo.status.text}</td>
                        <td>{$vo.realname}</td>
                        <td>{$vo.mobile}</td>
                        <td>{$vo.address}</td>
                        <td>
                            <a href="{:url('detail', 'id=' . $vo.id)}" class="btn btn-info btn-xs">详情</a>

                        </td>
                    </tr>
                    {/foreach}
                    </tbody>
                </table>
            </div>
            <!-- /.box-body -->
        </div>
        <!-- /.box -->

        <div class="subsub subsub-bottom clearfix">
            <div class="pull-left">

            </div>
            <div class="pull-right">
                {$list->render() ?? $list->total() . '个项目'}
            </div>
        </div>

    </div>
</div>
{/block}